import Mock from 'mockjs'

// var Mock = require('mockjs')
var data = Mock.mock({
    'data|30': [{
        'id|+1': 1,
        name:'iphone 11'
    }]
})

Mock.mock('/getprolist','get',() => {
    return data
})